extends tpl/index.pug

append vars
  - var title = "我护航的学生"

append style
  link(rel="stylesheet", href="style/joinus.css")
  link(rel="stylesheet", href="lib/swiper.min.css")

block page
  form
    .x-student
      .x-item-list
        - 
          var arr=[{
            title:"学生姓名",
            info:"李小白 ",
            type:'text'
          },{
            title:"学生性别",
            info:"男 ",
            type:'text'
          },{
            title:"学生年龄",
            info:"15",
            type:'number'
          },{
            title:"联系电话",
            info:"18848556587 ",
            type:'tel'
          },{
            title:"家庭住址",
            info:"江苏升南京市雨花台区伯约兰特大的",
            type:'text'
          }] 
        each val,i in arr
          if(i==4)
            .x-item.x-item-erar
              span=val.title
              textarea=val.info
          else
            .x-item
              span=val.title
              input(value=val.info,type=val.type)
      .x-item-list
        - 
          var arr1=[{
            title:"年级",
            info:"初中三年级",
            type:'text'
          },{
            title:"班主任姓名",
            info:"李达康 ",
            type:'text'
          },{
            title:"联系电话",
            info:"12345678911",
            type:'tel'
          },{
            title:"就读学校",
            info:"贵州省点卡施工的空间三个房间开发公司",
            type:'text'
          }] 
        each val,i in arr1
          if(i==3)
            .x-item.x-item-erar
              span=val.title
              textarea(value=val.info)
          else
            .x-item
              span=val.title
              input(value=val.info,type=val.type)
      .x-item-list.last
        .x-item.x-item-erar
          span 护航信息反馈
          textarea(value="该生勤奋好学，品学兼优，多次被评为三好学生家境贫困，父母因病丧失劳动能力。")
        .p 附件上传
        .img.clearfix
          - var arrImg=['image/sc.png','image/sc.png','image/sc.png','image/sc.png']
            each val,i in arrImg
              li
                img(src=val)
            if(arrImg.length<3)
              li
                img(src="image/add.png")
      .info 温馨提示：最多上传4个附件，仅限图片或者视频，每个附件大小不超过5M
            
    .btn
      button 保存
      
    

